#include <AT89X52.h>
#include <led.h>

long choose[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
void main_led()
{
	int i;
for(i=0;i<20;i++)
	{
		P2=choose[i%8];

		Delay();
	
	}


}

void Delay()
{
unsigned int a;
for (a=60000;a>0;a--)
{}
}
